package com.dawn.module.cms.convert.category;

import java.util.*;

import com.dawn.framework.common.pojo.PageResult;

import com.dawn.module.cms.controller.app.category.vo.AppCategoryRespVO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;
import com.dawn.module.cms.controller.admin.category.vo.*;
import com.dawn.module.cms.dal.dataobject.category.CategoryDO;

/**
 * 类目 Convert
 *
 * @author yangyuhua
 */
@Mapper
public interface CategoryConvert {

    CategoryConvert INSTANCE = Mappers.getMapper(CategoryConvert.class);

    CategoryDO convert(CategorySaveReqVO bean);

    CategoryRespVO convert(CategoryDO bean);

    List<CategoryRespVO> convertList(List<CategoryDO> list);

    List<CategoryRespVO> convertList02(List<CategoryDO> list);

    List<AppCategoryRespVO> convertList03(List<CategoryDO> list);

}
